package com.yangyouqi.posthorse.admin.from;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 杨友奇
 * @Time 2018/6/29
 * 进行登陆表单验证
 */
@Data
public class LoginFrom {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message="密码不能为空")
    private String password;

}
